﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Base_CertCityForm.aspx.cs" Inherits="FS.Web.BLL.Visa_Base.Base_CertCityForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/Validator/JValidator.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/artDialog.source.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.source.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <script type="text/javascript"> 
        function ChangeArea() {
            var cityarea = $("#Ref_CityArea").val();
            var parm = 'action=getcitybyarea&cityarea=' + escape(cityarea);
            getAjax('base.ashx', parm, function (rs) {
                try {
                    var V_JSON = rs;
                    var json = eval("(" + V_JSON + ")");

                    $("#City_id").empty();
                    var len = json.MENU.length;
                    if (len = 0) {
                        showTipsMsg("找不到区域下的国家信息，请到【国家信息】窗口维护！", 2000, 5);
                    } else {
                        $("#City_id").append("<option value=''>请选择</option>");
                        for (var i = 0; i < json.MENU.length; i++) {
                            var menu = json.MENU[i];
                            $("#City_id").append("<option value='" + menu.CITY_ID +
                                "'>" + menu.CITY_NAME + "</option>");
                        }
                    }
                } catch (e) {
                }
            });
        }
            
    </script>
</head>
<body>    
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" class="frm">  
        <tr>
            <th>
                所属区域：
            </th>
            <td>
                <select id="Ref_CityArea" runat="server" type="text" class="select"  style="width: 85%" onchange="ChangeArea()" />
            </td>
        </tr>
        <tr>
            <th>
                签证国家：
            </th>
            <td>
                <select id="City_id" runat="server" type="text" datacol="yes" class="select" err="签证国家" 
                    checkexpession="NotNull" style="width: 85%">                
                </select>
            </td>
        </tr>        
        <tr>
            <th>
                签证类型：
            </th>
            <td>
                <select id="Ref_CertType" runat="server" type="text" datacol="yes" err="签证类型" class="selCertType"
                     checkexpession="NotNull" style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                工作日：
            </th>
            <td>                
                <input id="CertCity_WorkDay" runat="server" type="text" class="txt" datacol="yes" err="工作日"
                    checkexpession="Num" style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                照片数量：
            </th>
            <td>
                <input id="CertCity_PicNum" runat="server" type="text" datacol="yes" err="照片数量"
                    checkexpession="Num" style="width: 85%" />
            </td>
        </tr> 
        <tr>
            <th>
                有效期：
            </th>
            <td>
                <input id="CertCity_EffectDay" runat="server" type="text" class="txt" datacol="yes" err="有效期"
                    style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                逗留期：
            </th>
            <td>
                <input id="CertCity_StayDay" runat="server" type="text" class="txt" datacol="yes" err="逗留期"
                    style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                销售价：
            </th>
            <td>
                <input id="CertCity_Price" runat="server" type="text" class="txt" datacol="yes" err="销售价"
                    checkexpession="Double" style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                特价：
            </th>
            <td>
                <input id="CertCity_specialPrice" runat="server" type="text" class="txt" datacol="yes" err="特价"
                    checkexpession="DoubleOrNull" style="width: 85%" />
            </td>
        </tr>        
        <tr>
            <th>
                同行价：
            </th>
            <td>
                <input id="CertCity_InternalPrice" runat="server" type="text" class="txt" datacol="yes" err="同行价"
                    checkexpession="DoubleOrNull" style="width: 85%" />
            </td>
        </tr>                 
        <tr>
            <th>
                备注：
            </th>
            <td colspan=3>
                <textarea id="CertCity_remark" class="txtRemark" runat="server" style="width: 85.5%;
                    height: 150px;"></textarea>
            </td>
        </tr>
    </table>
    <div class="frmbottom">
        <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return CheckDataValid('#form1');"
            OnClick="Save_Click"><span class="l-btn-left">
            <img src="/Themes/Images/save.png" alt="" />保 存</span></asp:LinkButton>
        <a class="l-btn" href="javascript:void(0)" onclick="OpenClose();"><span class="l-btn-left">
            <img src="/Themes/Images/cancel.png" alt="" />关 闭</span></a>
    </div>
    </form>
</body>
</html>